package org.itboys.basetemplate.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.NotSaved;

import java.util.Date;

/**
 * 申请分销商信息
 * 
 * @author Wuwenjie
 * 
 */
@Entity(value = "ApplyInfo", noClassnameStored = true)
public class ApplyInfo extends BaseLongIdEntity {

	private static final long serialVersionUID = -1321171668307633168L;

	private Long memberId; // 会员Id
	private Long centerId;
	private String mobile; // 电话
	private String name; // 姓名
	private String remark; // 备注
	private Integer status = 0; // 审核状态 0-待审核 1-审核通过 2-审核不通过
	private Date createTime; //申请时间
	
	@NotSaved
	private String nickName; //微信昵称
	@NotSaved
	private String centerName;
	
	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getCenterId() {
		return centerId;
	}

	public void setCenterId(Long centerId) {
		this.centerId = centerId;
	}

	public String getCenterName() {
		return centerName;
	}

	public void setCenterName(String centerName) {
		this.centerName = centerName;
	}
}
